package com.ycz.cglib.dispatcher;

import com.ycz.cglib.load.PropertyBean;
import org.springframework.cglib.proxy.Dispatcher;

/**
 * @author ycz
 * @date 2021/7/3
 * @description TODO
 * @Company © 版权所有 深圳市天行云供应链有限公司
 */
public class ConcreteClassDispatcher implements Dispatcher {
    public Object loadObject() throws Exception {
        System.out.println("延迟加载接口 == Dispatcher loadObject ...");
        PropertyBean propertyBean = new PropertyBean();
        propertyBean.setPropertyName("66666666");
        propertyBean.setPropertyValue(999999);
        return propertyBean;
    }
}
